﻿<Window x:Class="BigMailer.UrlWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        SizeToContent="Height"
        Width="620"
        Title="Confirgure Server Url" 
        Icon="/BigMailer;component/Properties/setup.ico" 
        Background="#FFFFFFFF" 
        FontSize="14" 
        FontWeight="Normal" 
        WindowStartupLocation="CenterOwner" 
        ResizeMode="NoResize" 
        Loaded="Window_Loaded">
    
    <DockPanel>
        <StackPanel HorizontalAlignment="Stretch"  DockPanel.Dock="Top">
            <TextBlock Margin="5">Please enter the URL to the upload service.
            (e.g. http://YourServer/Mailer/MailerService.svc)
            </TextBlock>
            <TextBlock Margin="5">
                Don't have the service hosted yet?
                <Hyperlink Name="linkGetHost" Click="linkGetHost_Click">Click here</Hyperlink> to get the server-side files for hosting the service.
                
            </TextBlock>
            <TextBox  Margin="5, 20, 5, 5" Name="textBoxUrl" MinWidth="350" Background="{x:Null}" BorderBrush="#FF000000" TabIndex="0" >
            	<TextBox.BitmapEffect>
            		<OuterGlowBitmapEffect GlowColor="#FFFFDA55" GlowSize="3"/>
            	</TextBox.BitmapEffect>
            </TextBox>
            <TextBlock Margin="5" TextWrapping="WrapWithOverflow">If you are using security on your service (set in the web.config) enter the username and password below. Leave blank for no security.</TextBlock>
            <StackPanel Orientation="Horizontal">
                <TextBlock Margin="5, 0, 5, 0">Username:</TextBlock>
                <TextBox Width="200" Name="tbUser" Background="{x:Null}" BorderBrush="#FF000000" >
                    <TextBox.BitmapEffect>
                        <OuterGlowBitmapEffect GlowColor="#FFFFDA55" GlowSize="3"/>
                    </TextBox.BitmapEffect>
                </TextBox>
                <TextBlock Margin="5, 0, 5, 0">Password:</TextBlock>
                <TextBox Width="200" Name="tbPassword" Background="{x:Null}" BorderBrush="#FF000000" >
                    <TextBox.BitmapEffect>
                        <OuterGlowBitmapEffect GlowColor="#FFFFDA55" GlowSize="3"/>
                    </TextBox.BitmapEffect>
                </TextBox>
                
            </StackPanel>
        </StackPanel>

        <StackPanel Orientation="Horizontal"  VerticalAlignment="Bottom" HorizontalAlignment="Right" DockPanel.Dock="Bottom">
            <Button Margin="5" Name="buttonOK" Height="27" Width="69" Click="buttonOK_Click" TabIndex="1" IsDefault="True">OK</Button>
            <Button Margin="5" Name="buttonCancel" Height="27" Width="69" Click="buttonCancel_Click" TabIndex="2" IsCancel="True">Cancel</Button>
        </StackPanel>
    </DockPanel>
</Window>
